package com.hqd.ch03.v40.context.ui.support;

import com.hqd.ch03.v40.context.MessageSource;
import com.hqd.ch03.v40.context.ui.Theme;

public class SimpleTheme implements Theme {

    private final String name;

    private final MessageSource messageSource;

    public SimpleTheme(String name, MessageSource messageSource) {
        this.name = name;
        this.messageSource = messageSource;
    }


    @Override
    public final String getName() {
        return this.name;
    }

    @Override
    public final MessageSource getMessageSource() {
        return this.messageSource;
    }

}
